package com.demo.pojo;

import lombok.Data;

import javax.persistence.*;
import java.util.Date;

/**
 * @ClassName Student
 * @Description TODO
 * @Author Windy
 * @Date 2022/9/16 20:07
 * @Version 1.0
 **/
@Data
@Entity
@Table(name = "student")
public class Student {
    @Id
    private int id;

    private String name;
    private int sex;
    private Date birth;
}
